asSequence

open override fun asSequence(): Sequence<T>

Returns a sequence that wraps this Option returning its value if it is defined, or an empty sequence if the option is empty.

Return

A sequence that wraps this Option returning its value if it is defined, or an empty sequence if the option is empty.

Since

1.1